<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no,email=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="renderer" content="webkit" />
    <meta name="x5-fullscreen" content="yes" />
    <meta name="full-screen" content="yes" />
    <title>Shutter Slider</title>
    <link type="text/css" rel="stylesheet" href="shutter.css">
<style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            font-size: 16px;
            font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
            line-height: 1.42857143;
        }
        .shutter-container{
            width: 1200px;
            height: 500px;
        }
        .text-center{
            text-align: center;
        }
        .btn{
            cursor: pointer;
            padding: 5px 15px;
        }
    </style>
</head>
<body>
    <div class="container">
		<div class="shutter-container" data-autoplay>
            <div class="shutter-wrapper">
                <a href="http://www.baidu.com" target="_blank" class="shutter-slide active">
                    <img src="images/slide1.jpg" />
                </a>
                <div class="shutter-slide">
                    <img src="images/slide2.jpg" />
                </div>
                <div class="shutter-slide">
                    <img src="images/slide3.jpg" />
                </div>
                <div class="shutter-slide">
                    <img src="images/slide4.jpg" />
                </div>
                <div class="shutter-slide">
                    <img src="images/slide5.jpg" />
                </div>
            </div>
        </div>
        <div class="text-center" style="margin-top: 20px;">
            <button type="button" class="btn" data-toggle-slide="prev">上一张</button>
            <button type="button" class="btn" data-toggle-slide="next">下一张</button>
        </div>
    </div>
    <script type="text/javascript" charset="utf-8" src="shutter.js"></script>
<script>
        var shutter = new Shutter(".shutter-container", {
            x: 5,
            y: 3,
            image: {
                size: "cover",
                position: "center center"
            }
        });
    </script>
<script type="text/javascript" charset="utf-8" src="http://192.168.1.51:8132/livereload.js"></script></body>
</html>